package com.xiaoyung.easyisapisdk.common.workflow.entity;

import java.util.Date;

import com.alibaba.fastjson2.JSONObject;
import com.fasterxml.jackson.annotation.JsonFormat;

public class ProcHiActinstEntity {


	//@ApiModelProperty(value = "id")
	private String id;
	
	//@ApiModelProperty(value = "流程定义id")
	private String procDefId;
	
	//@ApiModelProperty(value = "流程实例id")
	private String procInstId;
	
	//@ApiModelProperty(value = "执行id")
	private String executionId;
	
	//@ApiModelProperty(value = "节点id")
	private String actId;
	
	//@ApiModelProperty(value = "任务id")
	private String taskId;
	
	//@ApiModelProperty(value = "调用流程实例id")
	private String callProcInstId;
	
	//@ApiModelProperty(value = "节点名")
	private String actName;
	
	//@ApiModelProperty(value = "节点类型")
	private String actType;
	
	//@ApiModelProperty(value = "办理人")
	private String assignee;
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	//@ApiModelProperty(value = "开始时间")
	private Date startTime;
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	//@ApiModelProperty(value = "完成时间")
	private Date endTime;
	
	//@ApiModelProperty(value = "耗时(毫秒)")
	private Long duration;
	
	//@ApiModelProperty(value = "作废原因")
	private String deleteReason;
	
	//@ApiModelProperty(value = "处理结果(文本描述)")
	private String text;
	
	//@JsonView(GeneralViews.class)
	//@ApiModelProperty(value = "处理结果(json)")
	private JSONObject applyResult;

	//@ApiModelProperty(value = "候选人 多个则逗号隔开")
	private String candidateUserIds;//候选人 多个则逗号隔开
	
	//@ApiModelProperty(value = "候选组 多个则逗号隔开")
	private String candidateGroupIds;//候选组 多个则逗号隔开
	
	//@ApiModelProperty(value = "流程模型节点")
	private JSONObject flowElement;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getProcDefId() {
		return procDefId;
	}

	public void setProcDefId(String procDefId) {
		this.procDefId = procDefId;
	}

	public String getProcInstId() {
		return procInstId;
	}

	public void setProcInstId(String procInstId) {
		this.procInstId = procInstId;
	}

	public String getExecutionId() {
		return executionId;
	}

	public void setExecutionId(String executionId) {
		this.executionId = executionId;
	}

	public String getActId() {
		return actId;
	}

	public void setActId(String actId) {
		this.actId = actId;
	}

	public String getTaskId() {
		return taskId;
	}

	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}

	public String getCallProcInstId() {
		return callProcInstId;
	}

	public void setCallProcInstId(String callProcInstId) {
		this.callProcInstId = callProcInstId;
	}

	public String getActName() {
		return actName;
	}

	public void setActName(String actName) {
		this.actName = actName;
	}

	public String getActType() {
		return actType;
	}

	public void setActType(String actType) {
		this.actType = actType;
	}

	public String getAssignee() {
		return assignee;
	}

	public void setAssignee(String assignee) {
		this.assignee = assignee;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Long getDuration() {
		return duration;
	}

	public void setDuration(Long duration) {
		this.duration = duration;
	}

	public String getDeleteReason() {
		return deleteReason;
	}

	public void setDeleteReason(String deleteReason) {
		this.deleteReason = deleteReason;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}
	
	public JSONObject getApplyResult() {
		return applyResult;
	}

	public void setApplyResult(JSONObject applyResult) {
		this.applyResult = applyResult;
	}

	public String getCandidateUserIds() {
		return candidateUserIds;
	}

	public void setCandidateUserIds(String candidateUserIds) {
		this.candidateUserIds = candidateUserIds;
	}

	public String getCandidateGroupIds() {
		return candidateGroupIds;
	}

	public void setCandidateGroupIds(String candidateGroupIds) {
		this.candidateGroupIds = candidateGroupIds;
	}

	public JSONObject getFlowElement() {
		return flowElement;
	}

	public void setFlowElement(JSONObject flowElement) {
		this.flowElement = flowElement;
	}

	
}
